package org.wu.framework.authorization.platform.application;

import org.wu.framework.web.response.Result;
import org.wu.framework.web.response.ResultFactory;
import org.wu.framework.authorization.platform.domain.model.lazy.zone.application.LazyZoneApplication;
import org.wu.framework.authorization.platform.application.command.lazy.zone.application.LazyZoneApplicationRemoveCommand;
import org.wu.framework.authorization.platform.application.command.lazy.zone.application.LazyZoneApplicationStoryCommand;
import org.wu.framework.authorization.platform.application.command.lazy.zone.application.LazyZoneApplicationUpdateCommand;
import org.wu.framework.authorization.platform.application.command.lazy.zone.application.LazyZoneApplicationQueryListCommand;
import org.wu.framework.authorization.platform.application.command.lazy.zone.application.LazyZoneApplicationQueryOneCommand;
import org.wu.framework.authorization.platform.application.dto.LazyZoneApplicationDTO;
import java.util.List;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
/**
 * describe 应用信息 
 *
 * @author Jia wei Wu
 * @date 2024/04/02 06:21 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplication 
 **/

public interface LazyZoneApplicationApplication {


    /**
     * describe 新增应用信息
     *
     * @param lazyZoneApplicationStoryCommand 新增应用信息     
     * @return {@link Result<LazyZoneApplication>} 应用信息新增后领域对象     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<LazyZoneApplication> story(LazyZoneApplicationStoryCommand lazyZoneApplicationStoryCommand);

    /**
     * describe 批量新增应用信息
     *
     * @param lazyZoneApplicationStoryCommandList 批量新增应用信息     
     * @return {@link Result<List<LazyZoneApplication>>} 应用信息新增后领域对象集合     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<List<LazyZoneApplication>> batchStory(List<LazyZoneApplicationStoryCommand> lazyZoneApplicationStoryCommandList);

    /**
     * describe 更新应用信息
     *
     * @param lazyZoneApplicationUpdateCommand 更新应用信息     
     * @return {@link Result<LazyZoneApplication>} 应用信息领域对象     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<LazyZoneApplication> updateOne(LazyZoneApplicationUpdateCommand lazyZoneApplicationUpdateCommand);

    /**
     * describe 查询单个应用信息
     *
     * @param lazyZoneApplicationQueryOneCommand 查询单个应用信息     
     * @return {@link Result<LazyZoneApplicationDTO>} 应用信息DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<LazyZoneApplicationDTO> findOne(LazyZoneApplicationQueryOneCommand lazyZoneApplicationQueryOneCommand);

    /**
     * describe 查询多个应用信息
     *
     * @param lazyZoneApplicationQueryListCommand 查询多个应用信息     
     * @return {@link Result <List<LazyZoneApplicationDTO>>} 应用信息DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result <List<LazyZoneApplicationDTO>> findList(LazyZoneApplicationQueryListCommand lazyZoneApplicationQueryListCommand);

    /**
     * describe 分页查询多个应用信息
     *
     * @param lazyZoneApplicationQueryListCommand 分页查询多个应用信息     
     * @return {@link Result <LazyPage<LazyZoneApplicationDTO>>} 分页应用信息DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result <LazyPage<LazyZoneApplicationDTO>> findPage(int size,int current,LazyZoneApplicationQueryListCommand lazyZoneApplicationQueryListCommand);

    /**
     * describe 删除应用信息
     *
     * @param lazyZoneApplicationRemoveCommand 删除应用信息     
     * @return {@link Result<LazyZoneApplication>} 应用信息     
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<LazyZoneApplication> remove(LazyZoneApplicationRemoveCommand lazyZoneApplicationRemoveCommand);

}